-- GENERATED SPELL FOR [Ferocious Yeti] --


function spell0_2249(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_2249', 645, 1)
end

function Sorts_2249(pUnit, Event)
local choix_sorts_2249 = math.random(0, 0)
if choix_sorts_2249 == 0 then
pUnit:RegisterEvent('spell0_2249', 1, 1)
end
end

function mob2249_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2249', math.random(1500, 3000), 1)
end

function mob2249_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2249_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2249_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2249, 1, 'mob2249_Action')
RegisterUnitEvent(2249, 2, 'mob2249_Leave')
RegisterUnitEvent(2249, 3, 'mob2249_Kill')
RegisterUnitEvent(2249, 4, 'mob2249_Die')
